Optimal. Leaf size=52 \[ \frac {(c x)^{m+1} (a+b x)^n \left (\frac {b x}{a}+1\right )^{-n} \, _2F_1\left (m+1,-n;m+2;-\frac {b x}{a}\right )}{c (m+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 52, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {66, 64} \[ \frac {(c x)^{m+1} (a+b x)^n \left (\frac {b x}{a}+1\right )^{-n} \, _2F_1\left (m+1,-n;m+2;-\frac {b x}{a}\right )}{c (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 64
Rule 66
Rubi steps
\begin {align*} \int (c x)^m (a+b x)^n \, dx &=\left ((a+b x)^n \left (1+\frac {b x}{a}\right )^{-n}\right ) \int (c x)^m \left (1+\frac {b x}{a}\right )^n \, dx\\ &=\frac {(c x)^{1+m} (a+b x)^n \left (1+\frac {b x}{a}\right )^{-n} \, _2F_1\left (1+m,-n;2+m;-\frac {b x}{a}\right )}{c (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 48, normalized size = 0.92 \[ \frac {x (c x)^m (a+b x)^n \left (\frac {b x}{a}+1\right )^{-n} \, _2F_1\left (m+1,-n;m+2;-\frac {b x}{a}\right )}{m+1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.51, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (b x + a\right )}^{n} \left (c x\right )^{m}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b x + a\right )}^{n} \left (c x\right )^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.09, size = 0, normalized size = 0.00 \[ \int \left (c x \right )^{m} \left (b x +a \right )^{n}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b x + a\right )}^{n} \left (c x\right )^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int {\left (c\,x\right )}^m\,{\left (a+b\,x\right )}^n \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 3.14, size = 37, normalized size = 0.71 \[ \frac {a^{n} c^{m} x x^{m} \Gamma \left (m + 1\right ) {{}_{2}F_{1}\left (\begin {matrix} - n, m + 1 \\ m + 2 \end {matrix}\middle | {\frac {b x e^{i \pi }}{a}} \right )}}{\Gamma \left (m + 2\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________